package com.moshang.blog.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * @program: blog
 * @description: 三方登录用户信息
 * @author: xieweiwei
 * @create: 2018-10-18 12:27
 **/
@Getter
@Setter
@TableName("third_login_user")
public class ThirdLoginUser {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String loginType;
    private String openId;
    private String accessToken;
    private Date expiredTime;
    private String  avatar;
    private String nickName;
    private String gender;
    private Date lastLoginTime;
    /**
     *1代表后台登录，2代表前台登录
     */
    private Integer status;
}
